package com.shrcl.engineerprocess.domain;

import com.shrcl.engineerprocess.domain.Engineer;
import com.shrcl.engineerprocess.domain.EngineerTraining;
import edu.fudan.mylang.pf.IDAOService;
import java.util.Collection;
import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;

public interface EngineerTrainingDAO extends IDAOService<EngineerTraining> {
  public abstract EngineerTraining create(final Procedure1<? super EngineerTraining> init);
  
  public abstract void delete(final EngineerTraining engineerTraining);
  
  public abstract Collection<EngineerTraining> getAllTrainingsByEngineer(final Engineer engineer);
}
